package com.sks.utils;

import java.io.IOException;
import java.util.Properties;

public class MailInfoUtil {
	private static Properties properties = new Properties();
	
	static {
		try{
			properties.load(MailInfoUtil.class.getClassLoader().getResourceAsStream("mailInfo.properties"));
		}catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	public static String get(String key){
		return (String) properties.get(key);
	}
}
